<script setup lang="ts">

import { Image as VanImage } from "vant";

defineProps({
  config: {
    type: Object,
    default: {},
  },
});
</script>

<template>
  <view class="flex flex-col items-center justify-around w-full h-full">
    <view
      class="w-full h-full"
      style="aspect-ratio: 10/3"
      v-for="(item, index) in config.data"
      :key="index"
      :style="{}"
      @click=""
    >
      <van-image
        round
        width="100%"
        height="100%"
        style="aspect-ratio: 10/3"
        fit="fill"
        :src="item.imgUrl"
      ></van-image>
    </view>
  </view>
</template>
